package com.stone.framework.user.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Update;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.stone.framework.user.entity.User;

@Mapper
public interface UserMapper extends BaseMapper<User> {

    @Update("UPDATE ST_USER SU SET SU.password = #{password} WHERE SU.name = #{username}")
    void updatePassword(String username, String password);

}
